package com.my.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.my.entity.Question;

import java.util.List;

public interface QuestionService extends IService<Question> {

    IPage<Question> getPage(IPage<Question> page, Question q);

    List<Question> getBySubjectId(Long subjectId);

}
